<!doctype html>
<html>
  <head>
    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-132775238-1"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());
      gtag('config', 'UA-132775238-1');
    </script>
    <script type="text/javascript" src="../rapidoc-min.js"></script>
    <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes">
    <link href="https://fonts.googleapis.com/css2?family=Nunito:wght@300;600&family=Open+Sans:wght@300;600&family=Roboto+Mono&display=swap" rel="stylesheet">

    <link href='../index.css' rel='stylesheet'>
    <style>
      rapi-doc{
        width:100%;
      }
    </style>
  </head>
  <body>
    <rapi-doc spec-url="../specs/petstore_extended.yaml"
      id = "thedoc"
      show-header = "false"
      render-style = "read"
      regular-font = "Nunito"
      mono-font = "Roboto Mono"
      theme = 'light'
      bg-color = '#ecf1f7'
      text-color = '#133863'
      nav-bg-color = '#3f4d67'
      nav-text-color = '#a9b7d0'
      nav-hover-bg-color = '#333f54'
      nav-hover-text-color = '#fff'
      nav-accent-color = '#f44236'
      primary-color = '#5c7096'

    > 
      <div slot="nav-logo">
        <div slot="nav-logo" style="width:100%; display: flex; flex-direction:column;">
          <div style="text-align: center; padding: 20px 0 12px 0; color:#47AFE8"> Font</div>
          <div style="display: flex;justify-content: center; margin: 2px 0">
            <button class='btn medium' onclick="document.getElementById('thedoc').setAttribute('regular-font', 'Nunito')" >Nunito</button>
            <button class='btn medium' onclick="document.getElementById('thedoc').setAttribute('regular-font', 'Open Sans')" >Open Sans</button>
          </div>
        </div>
      </div>
    </rapi-doc>
  </body>
</html>